package com.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(Include.NON_NULL)
public class ValueStatistics extends ESBaseData implements Cloneable {

	public ValueStatistics(String indexName, String typeName) {
		super(indexName, typeName);

	}

	@Deprecated
	public ValueStatistics() {
		super("", "");
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String date;
	private String datatype;
	private Float max_value;
	private Float min_value;
	private Float avg_value;
	private Float value;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getDatatype() {
		return datatype;
	}

	public void setDatatype(String datatype) {
		this.datatype = datatype;
	}

	public Float getMax_value() {
		return max_value;
	}

	public void setMax_value(Float max_value) {
		this.max_value = max_value;
	}

	public Float getMin_value() {
		return min_value;
	}

	public void setMin_value(Float min_value) {
		this.min_value = min_value;
	}

	public Float getAvg_value() {
		return avg_value;
	}

	public void setAvg_value(Float avg_value) {
		this.avg_value = avg_value;
	}

	public Float getValue() {
		return value;
	}

	public void setValue(Float value) {
		this.value = value;
	}

	@Override
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
}
